home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d19
/
signof20.arc
/
SIGNOFF.DOC
< prev
next >
Wrap
Text File
|
1987-11-27
|
8KB
|
191 lines
---SIGNOFF---
OVERVIEW
I got a hold of two programs that seem to work fine. One was
called "Thought of the day" and the other was called "Today".
Both worked ok, however neither of the programs did what I wanted
so I have rewritten a program that used the data files from both
programs.
What I wanted was a program that would add a lot or just a little
stuff in my "Script0" file as a signoff message, you know with
the ";" in each line so my script file would not ask any
questions, and print a message to the user. So here goes...
Oh yea, I forgot; Aren't you supposed to say something like this:
"This is a free program", don't send any money, marriage
proposals, or gifts, just give me credit all over your PCBoard
files, bulletins and welcome messages. No not really, <<grin>>
just use it if you find it useful, and you surely will, sense you
can change it any way you wish.
Have you ever thought it would be nice to know what interesting
things happened on a date in history? When famous, or not so
famous, birthdays occurred? SIGNOFF will tell you. When the
program is run, in your event.sys file it looks at the system
date, then tells you what things of interest happened on that
date.
INSTALLATION
SIGNOFF is distributed as an archive file(SIGNOFF.ARC) and you
must have PKX35A35, or something else that will work, to extract
the required files. The files comprising the SIGNOFF system are:
SIGNOFF.DOC - This file
SIGNOFF.EXE - The program
SIGNOFF.MON - where MON is JAN through DEC. These files
contain all the interesting trivia stuff.
(You can change it).
SIGNOFF.TXT - This file is the Quotes file, (You can change
it)
SIGNOFF.CNT - This file is the Header and counter file...I
don't like this file, but what the hey.
SIGNOFF.OUT - The output file, Copy it to Script0 or what
ever.
(NOTE: All files must be in the default or it's own subdir or bad
stuff will happen to you, like it won't work)
After printing this DOC file, you need not keep it on disk but you
will need the EXE and all the other files. They MUST all be in
the same directory on your disk. Why not call it SIGNOFF?
To install SIGNOFF from the root directory, with ARC available,
just unarc into a subdir and type signoff.
To run it from your EVENT.SYS you would insert these three lines:
cd \SIGNOFF
SIGNOFF
cd \PCB
This example would change directories to SIGNOFF's directory, run
the program, clearing the screen at the beginning and return you
to the EVENT.SYS file at the end.
CUSTOMIZING
SIGNOFF has one data file for each month of the year. They are
named SIGNOFF.JAN, .FEB, .MAR etc, and one file called
SIGNOFF.TXT. Your important dates aren't scattered among 12
files. All files are plain vanilla ASCII in this format:
Signoff.jan - dec:
Column 1: The record type which can be a B for birthdays,
S for special dates in history.
Cols 2-5: Month and day as MMDD with leading zeros. Zeros
for either month or day cause ALL months or days
to match when being scanned. For example 0101
would match the first of January while 0401
would match the first of April.
Cols 6-9: The full year of the event as four digits
1987 = you know, 1890 = the year of 1890.
Cols 11-70 The message to display for this date.
--EXAMPLES--
*mmddyyyy Birthdays
*--------
B09011875 Edgar Rice Burroughs, novelist, Ah-ee-ah-ee-ah!
B09021838 Queen Liliuokalani (last queen of Hawaii).
B09021952 Jimmy Connors, tennis brat
*mmddyyyy Events
*--------
S09011939 Germany invades Poland, starts World War II.
S09011952 Sutro Baths purchased by George Whitney.
S09011987 Labor Day, a legal holiday
S09021620 The Mayflower sets sail from Plymouth with
S09021620 102 Pilgrims.
Leave the headings in or you may get a nasty surprise.
SIGNOFF.TXT
Leave the format as is in this file also, however both files can
be changed or added to as you like. Just make the headers as they
are shown.
$what's tennis without a racket? RACKET???
The "$" starts a new quote and only two lines will be read in the
.out file... So go ahead and add three and see if I'm right
<grin>. The reason for two lines is PCBoard adds some other junk
to the bottom of my good stuff and this will cause it to scroll
off the top, and your user won't get to see "the good stuff",
unless he's a fast reader.
A word about the SIGNOFF.CNT file. It contains several bits of
information, here is the format:
"Happy Birthday To..."
"On This Day In..."
"Remember !"
2
***************************************
Date Last Updated: 11/22/1987
Time Last Updated: 16:49:34
Birthday & Event File: Signoff.nov
Signoff.txt file # read: 2
The first three lines are output to the SIGNOFF.OUT file as
headders for the three sections. These lines can be changed to
what ever you would like to say. Each line is output as a headder
for each of the three sections. Don't try to put more than one
line for each headder.
The 4th. line is the numeric value of the line that is output as
the "remember" statment. You can start this number anywhere you
like. It will advance by one each time the program is execuited.
Under the *************, line are just some stuff that tell you
which, where, when all the good stuff happened.. It might help you
if by some remote chance things get all fouled up.. As we all know
they do. The last four lines are created at the end of the
signoff execution. So if problems occur these line might tell you
when the error occured.
-Larry Bugg-
7620 N. W. 20th. Street
Bethany, Oklahoma 73008
(405) 789-4180 (After 6:00 PM CST)
BBS: (405) 787-7442 (24 hours)